package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;

public interface QualitytypeDAO extends JpaDao<Qualitytype> {

	public Qualitytype findQualitytypeById(Integer id) throws DataAccessException;

	public Qualitytype findQualitytypeById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Qualitytype> findQualitytypeByName(String name) throws DataAccessException;

	public Set<Qualitytype> findQualitytypeByName(String name, int startResult, int maxRows) throws DataAccessException;

	public Set<Qualitytype> findQualitytypeByNameContaining(String name_1) throws DataAccessException;

	public Set<Qualitytype> findQualitytypeByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Qualitytype> findQualitytypeByDescription(String description) throws DataAccessException;

	public Set<Qualitytype> findQualitytypeByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Qualitytype> findQualitytypeByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Qualitytype> findQualitytypeByDescriptionContaining(String description_1, int startResult, int maxRows)
			throws DataAccessException;

	public Qualitytype findQualitytypeByPrimaryKey(Integer id) throws DataAccessException;

	public Qualitytype findQualitytypeByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Qualitytype> findQualitytypesByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Qualitytype> findAllQualitytypes() throws DataAccessException;

	public Set<Qualitytype> findAllQualitytypes(int startResult, int maxRows) throws DataAccessException;

	public Set<Qualitytype> findQualitytypeByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Qualitytype> findQualitytypesByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Qualitytype findQualitytypeByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Qualitytype findQualitytypeByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
